package javaapplication1;

public class Tupla {

private int x;
private long y;


Tupla(int a, long b){
        x = a;
        y = b;
}



public int getX(){
        return x;
}



public long getY(){
        return y;
}





public void setX(int a){
        x = a;
}

public void setY(long b){
        y = b;
}

/*public boolean mayor(Tupla a,Tupla b) {
        return (a.getY() > b.getY());
}
*/
/*
public boolean menor(Tupla a,Tupla b) {
        return (a.getY() < b.getY());
}
*/
public boolean equals(Tupla b) {
        return (y == b.getY());
}

}
